package com.abbas.CayTcore.xview

import android.content.Context
import android.util.AttributeSet
import androidx.recyclerview.widget.RecyclerView

class MRecycleView(context: Context, attrs: AttributeSet?) :
    RecyclerView(context, attrs) {

    override fun onMeasure(widthSpec: Int, heightSpec: Int) {
        super.onMeasure(widthSpec, MeasureSpec.makeMeasureSpec(Int.MAX_VALUE shr 2,MeasureSpec.AT_MOST))
    }

}